﻿using System;
using System.Collections.Generic;
using System.Text;

using Obsidian.Edm;

namespace Oak.Model
{
    public class CoActAppKeyInfo : OModel
    {

        private LongField appKeyId;
        private StringField appKey;
        private StringField description;
        private DateTimeField modified;
        private DateTimeField created;

        public CoActAppKeyInfo()
        {
            base.InitModel("oak", "CoActAppKeys", new IModelField[]{
                appKeyId = new LongField(this, "AppKeyId", "appKeyId"),
                appKey = new StringField(this, "AppKey", "appKey"),
                description = new StringField(this, "Description", "desc"),
                modified = new DateTimeField(this, "Modified", "modified"),
                created = new DateTimeField(this, "Created", "created")
            });
        }

        public LongField AppKeyId { get { return appKeyId; } }
        public StringField AppKey { get { return appKey; } }
        public StringField Description { get { return description; } }
        public DateTimeField Modified { get { return modified; } }
        public DateTimeField Created { get { return created; } }

    }
}
